Update and Add Data

Create a DataTable Object

Code Customization
Create a DataTable Object (Not Applicable To Gallery Page)
Description:

Many controls, such as datagrids, need to be bound to System.Data.DataTable objects. By default, the Data Access classes generated by Iron Speed Designer do not return DataTable objects. Instead, they return array lists of record objects. This customization shows how to convert an array list of record objects to a DataTable object that can be used to bind to controls such as a datagrid.

This customization will be added in:

..\<Application Name>\<Table Name>\Show<Table Name>Table.aspx.cs

For example: C:\MyApp1\Customers\ShowCustomersTable.aspx.cs

Procedure:

Step 1:  Add a control such as a datagrid to the Cell Editor.

e.g. <asp:datagrid id="myDataGrid" runat="server"> </asp:datagrid> will add a datagrid to the Cell Editor

Step 2:  Use this wizard to add code customization.

Step 3:  Build and run the application.

Disclaimer:
Customizations included in this wizard are provided as a sample to demonstrate a feature, and may work only in specific situations. The Iron Speed Designer support team cannot assist in the resolution of problems which may occur as a result of customizing your application or modifying a customization to fit a particular purpose.

Terms of Service Privacy Statement